<div id="playingpage" [ngClass]="{'playing':playing}">
    <div class="we-header">
        <back></back>
        <div class="we-header-title">{{music.name}} - {{(music.ar[0]||music.artists[0]||{}).name}}</div>
    </div>
    <div id="playing-bg" class="blurbg" [ngStyle]="{'background':'url('+(cover)+'?param=500y500)'}"></div>
    <div id="playing-zz" *ngIf="!showlrc" (click)="showlrc=!showlrc">
        <img src="../../../assets/images/aag.png" />
    </div>
    <div id="playing-main" *ngIf="!showlrc" (click)="showlrc=!showlrc">
        <img id="playingmainbg" src="../../../assets/images/play.png" />
        <div [ngStyle]="{'background-image':'url('+(cover)+'?param=200y200)'}" id="pmaincover">{{showlrc}}</div>
    </div>
    <!-- 歌词 -->
    <lrc [lrc]="lrcObj" [showlrc]="showlrc" [playtime]="playtime" lrcindex="1" id="lrclist" (click)="showlrc=!showlrc"></lrc>

    <div id="playing-actwrap">
        <!-- 红心，评论数量 -->
        <div id="playing-info" *ngIf="!showlrc">
            <div class="pi-act" (click)="heart()">
                <img src="../../../assets/images/cm2_play_icn_{{(star?'loved':'love')}}@2x.png" />
            </div>
            <div class="pi-act" bindtap="downmusic">
                <img src="../../../assets/images/cm2_list_detail_icn_share@2x.png" />
            </div>
            <div class="pi-act commentscount">
                <a [routerLink]="['/comment/'+music.id]" [queryParams]="{ctype:2}">
                    <img *ngIf="!commentscount" src="../../../assets/images/cm2_play_icn_cmt@2x.png" />
                    <img *ngIf="commentscount" src="../../../assets/images/cm2_play_icn_cmt_num@2x.png" />
                    <span *ngIf="commentscount">{{commentscount>999?'999+':commentscount}}</span>
                </a>
            </div>
            <div class="pi-act" (click)="pop_tg=1">
                <img src="../../../assets/images/cm2_play_icn_more@2x.png" />
            </div>
        </div>
        <!-- 操作区 -->
        <app-comp-playaction [music]="music" [playtime]="playtime" [playing]="playing" (Esetplaying)="Esetplaying($event)" (EseekMusic)="EseekMusic($event)"></app-comp-playaction>
    </div>
    <audio src="{{playurl}}" (timeupdate)="playingtime($event)" id="music" (ended)="next_music()" (canplay)="setplaying(true)">
        <track kind="subtitles" />
    </audio>
</div>
